package neu.edu.cn.nuemall.service;

import com.github.pagehelper.PageInfo;
import neu.edu.cn.nuemall.dto.OrderInfoDTO;
import neu.edu.cn.nuemall.entity.OrderInfo;

public interface OrderService {
    public OrderInfo submitOrder(String skuId,Integer booksCount,Double totalPrice,String shippingAddress,
                                 String fromType, String[] cartItems);

    public int payOrder(String orderId);
    public OrderInfoDTO getOrder(String orderId);

    public PageInfo<OrderInfoDTO> getOrderList(Integer page);
}
